/*
** main.c for push_swap in /home/nadali_t//local/Projets/CprgElem/pushswap
** 
** Made by thomas nadalie
** Login   <nadali_t@epitech.net>
** 
** Started on  Thu Jan  5 15:10:23 2012 thomas nadalie
** Last update Thu Jan  5 16:32:05 2012 thomas nadalie
*/

#include	<stdlib.h>
#include	<push_swap.h>

int	main(int ac, char **av)
{
  int	i;
  int	j;
  int	*l_a;

  i = 1;
  j = 0;
  l_a = malloc(ac *sizeof(int));
  while (i <= ac)
    {
      l_a[j] = my_getnbr(av[1]);
      j++;
    }
  my_display_list(l_a, ac);
  return (0);
}
